package org.jeecg.modules.engine.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.engine.entity.Task;
import org.jeecg.modules.engine.entity.vo.TaskVo;

import java.util.List;

/**
 * @Description: 任务表
 * @Author: jeecg-boot
 * @Date:   2020-07-21
 * @Version: V1.0
 */
public interface ITaskService extends IService<Task> {

	List<Task> selectByMainId(String mainId);
	IPage<TaskVo> selectByProcId(Page<TaskVo> page,TaskVo taskVo);
	TaskVo selectByTaskId(String taskId);
	String selectIdByProcAndFrame(String frameId,String procId);
}
